package sun.springboot.mqtt_integration.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "mqtt-smart")
@Data
public class MqttPropertiesConfig {
    /**
     * 用户名、密码、服务、subscribeClientId、providerClientId、监听主题
     */
    private String userName, password, server, subscribeClientId, providerClientId, topics;

}
